<ol class="breadcrumb">
    <li><a href="<?php echo base_url('admin/home') ?>" title="Trang chủ" data-original-title="Trang chủ"><i class="fa fa-home"></i> Trang chủ</a></li>
    <?php
    if (!empty($breadcrumb)) {
        for ($i = 1; $i < count($breadcrumb); $i++) {
            if ($i == count($breadcrumb) - 1) {
                ?>
                <li class="active" ><?php echo $breadcrumb[$i]['page'] ?></li>
                    <?php
                } else {
                    ?>
                <li class="active"><a href="<?php echo base_url('admin'.$breadcrumb[$i]['url']) ?>"><?php echo $breadcrumb[$i]['page'] ?></a></li>>
                <?php
            }
            ?>
            <?php
        }
    }
    ?>

</ol>